def count(n):
    s = 1
    for i in range(1, n + 1):
        s *= i
    print("{}的阶乘={}".format(n, s))


count(int(input("请输入：")))
